#!/bin/sh

GREEN='\033[0;32m'; # 绿色
DEF='\033[0m'; # 恢复默认颜色

ssh zyf@34.172.106.162 "cd /home/zyf/project; sh deploy.guangfu.sh";

# ssh zyf@34.172.106.162 "
#   cd /home/zyf/project/guang-fu;
#   echo -e '${GREEN} ==== 登录服务器成功😁，所在目录: ${DEF}'; pwd ; 
#   echo "==== 开始拉取仓库最新代码 ==== ";
#   git pull;git status;
#   echo "         "
#   git log --pretty=format:"%h - %an, %ar : %s" -5;
#   echo " ==== 开始安装依赖 ==== ";  pnpm i;
#   echo " ==== 开始打包 ==== "; pnpm build;
#   echo -e '${GREEN} ==== 部署完毕😁 ==== ${DEF}';
# "